//
//  TDIdCardGetMessageCell.m
//  TBRentClient
//
//  Created by tonbright on 2018/6/12.
//  Copyright © 2018年 tonbright. All rights reserved.
//

#import "TDIdCardGetMessageCell.h"

@implementation TDIdCardGetMessageCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    _imv_idCard.layer.cornerRadius = 5;
}

- (void)setIsFromNet:(BOOL)isFromNet {
    if (isFromNet) {
        _imv_idCard.layer.borderColor = [UIColor clearColor].CGColor;
        _imv_idCard.layer.borderWidth = 0;
        _imv_idCard.layer.masksToBounds = NO;

    }else {
        _imv_idCard.layer.borderColor = [UIColor lightGrayColor].CGColor;
        _imv_idCard.layer.borderWidth = 1;
        _imv_idCard.layer.masksToBounds = YES;
    }
}

@end
